package com.deng.maintenance.dao;

import java.util.List;

import com.deng.common.vo.FunctionVo;
import com.deng.maintenance.vo.JiangChengDictVo;
import com.deng.maintenance.vo.VoteDictVo;

public interface IVoteDict {

	public int insertData(VoteDictVo vo);
	
	public int deleteData(int id);
	public int updateData(VoteDictVo vo);
	public VoteDictVo searchDataById(int id);
	
	public List<FunctionVo> getAllVoteFunction();
	public List<FunctionVo> getAllVoteFunction2();
	public List<FunctionVo> getAllVoteFunctionOperate();
	public List<FunctionVo> getAllVoteFunctionAdmin();
	
	public List<VoteDictVo> searchAllData();
	public List<VoteDictVo> searchAllData2();
	public List<VoteDictVo> searchAllDataOperate();
	public List<VoteDictVo> searchAllDataAdmin();
	
	public List<VoteDictVo> insertDataGetAll(VoteDictVo vo);
	public List<VoteDictVo> insertDataGetAll2(VoteDictVo vo);
	public List<VoteDictVo> insertDataGetAllOperate(VoteDictVo vo);
	public List<VoteDictVo> insertDataGetAllAdmin(VoteDictVo vo);
	
	public List<VoteDictVo> updateVoteDict(VoteDictVo vo,int type);
	
	public List<JiangChengDictVo> searchAllJiangchengDict();
	public void updateJiangchengDict(JiangChengDictVo vo);
}
